<%-- 
    Document   : objetos-de-aprendizaje
    Created on : 4/11/2013, 09:31:46 PM
    Author     : usuario
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.*"%>
<%@page import="claseformato.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en">
<head>
    <!--
    Created by Artisteer v3.1.0.48375
    Base template (without user's data) checked by http://validator.w3.org : "This page is valid XHTML 1.0 Transitional"
    -->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Objetos de Aprendizaje</title>



    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
    <!--[if IE 6]><link rel="stylesheet" href="style.ie6.css" type="text/css" media="screen" /><![endif]-->
    <!--[if IE 7]><link rel="stylesheet" href="style.ie7.css" type="text/css" media="screen" /><![endif]-->

    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="script.js"></script>

</head>
<body>
<div id="art-page-background-glare-wrapper">
    <div id="art-page-background-glare"></div>
</div>
<div id="art-main">
    <div class="cleared reset-box"></div>
    <div class="art-box art-sheet">
        <div class="art-box-body art-sheet-body">
            <div class="art-header">
                <div class="art-headerobject"></div>
                        <div class="art-logo">
                                                 <h1 class="art-logo-name"><a href="./index.jsp">Escuela de Ingenieria en Computación e Informática</a></h1>
                                                                         <h2 class="art-logo-text">Proyecto Madre</h2>
                                                </div>
                
<div class="art-bar art-nav">
<div class="art-nav-outer">
<div class="art-nav-wrapper">
<div class="art-nav-inner">
	<ul class="art-hmenu">
		<li>
			<a href="./acerca-de-la-escuela.jsp">Acerca de la Escuela</a>
		</li>	
		<li>
			<a href="./modelo-curricular.jsp">Modelo Curricular</a>
		</li>	
		<li>
			<a href="./perfiles-educativos.jsp">Perfiles Educativos</a>
		</li>	
		<li>
			<a href="./estudiante.jsp">Estudiante</a>
		</li>	
		<li>
			<a href="./profesor.jsp">Profesor</a>
		</li>	
		<li>
			<a href="./instalaciones.jsp">Instalaciones</a>
		</li>	
	</ul>
</div>
</div>
</div>
</div>
<div class="cleared reset-box"></div>

            </div>
            <div class="cleared reset-box"></div>
            <div class="art-layout-wrapper">
                <div class="art-content-layout">
                    <div class="art-content-layout-row">
                        <div class="art-layout-cell art-content">
<div class="art-box art-post">
    <div class="art-box-body art-post-body">
<div class="art-post-inner art-article">
                                <h2 class="art-postheader">Objetos de Aprendizaje
                                </h2>
                                                <div class="art-postcontent">
Los Objetos de Aprendizaje  Disponibles son:
<% String web = "http://google.com" ;%>
<a href="<%= web %>"><%= web %></a>


<p><br /></p>

<table class="art-article" border="0" cellspacing="0" cellpadding="0" style="width: 100%;">
    <tbody>
        <tr>
            <td><span style="font-weight: bold;">Módulo:</span></td>

            <td><span style="font-weight: bold;">
                    
                <!--OBJETOS DE APRENDIZAJE-->
    
        <%-- start web service invocation --%><hr/>
    <%
    try {
        
	nubeconocimiento2.Buscador_Service service = new nubeconocimiento2.Buscador_Service();
	nubeconocimiento2.Buscador port = service.getBuscadorPort();
        
	 // TODO initialize WS operation arguments here
        
	int e = 1111;
	java.lang.String tem = "graphs";
	
        // TODO process result here
	java.util.List<nubeconocimiento2.Objetos> result = port.consultar(e, tem);
        
        
//      out.println("Objetos de Aprendizaje = "+result);
        
        nubeconocimiento2.Objetos otroobj;
        Iterator it = result.iterator();
                            while (it.hasNext()) {
                                otroobj = (nubeconocimiento2.Objetos) it.next();
                                out.println("Objetos de aprendizaje:"+"<div class=\"elemCont\"><h2>" + otroobj.getLocalizacion() + "</h2><b>Autor: "+otroobj.getAutor()+"</b></div>");
                            }
        
    } catch (Exception ex) {
	out.println("exception" + ex);
    }
    %>
    <%-- end web service invocation --%></span></td>
        </tr>
    </tbody>
</table>

<p><br /></p>

<p></p>
                </div>
                <div class="cleared"></div>
                </div>

		<div class="cleared"></div>
    </div>
</div>

                          <div class="cleared"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="cleared"></div>
            <div class="art-footer">
                <div class="art-footer-body">
                   
                            <div class="art-footer-text">
                                <p>Copyright © 2013, Universidad de Los Andes. All Rights Reserved.</p>
                                                            </div>
                    <div class="cleared"></div>
                </div>
            </div>
    		<div class="cleared"></div>
        </div>
    </div>
    <div class="cleared"></div>
    
    <div class="cleared"></div>
</div>

</body>
</html>
